Accounting is the process of creating a record or logging all activity on the system.

Accounting (sometimes called auditing) happens throughout each of the identity-management life cycle phases.

Each time a person logs in or out or attempts to access an application or a customer record, a log entry is created for later review. This is one reason that user IDs must be unique, as that is the only way to associate a particular action with the person or process initiating that action.

Logs should be protected to prevent the deletion of log entries or the deletion of the log file entirely. Sometimes, protection is done by writing a log off to a separate system that even the administrator cannot access. These logs may be needed in case of an investigation or to prove compliance with laws or regulations.

Proper logging can produce oceans of data—but this is good news, not bad. With proper analytics support from modern security information and event monitoring (SIEM) systems, the exploitation of logs as part of routine, ongoing monitoring, and as a rich source of alarm conditions for real-time, urgent response is straightforward. This does require us to consider the reasons we log and what we should do with the answers found. For example:

Many enterprises have found that mobile device management, endpoint detection and response, and other next-generation security capabilities are must-haves for their security programs. This, too, means more data sources generating even more streams of time-tagged signals, some of which may be indicators of a security incident in progress.

Events have placed greater urgency on the need to detect an intrusion or other security compromise as quickly as possible. Vendors of such analytic capabilities do, of course, emphasize the speed with which their systems can make such alarming discoveries.